//
//  OKTreatBtn.m
//  fast
//
//  Created by answer on 16/5/21.
//  Copyright © 2016年 answer. All rights reserved.
//

#import "OKTreatBtn.h"

@implementation OKTreatBtn

+ (instancetype)buttonWithTitle:(NSString *)title {
    OKTreatBtn *button = [[OKTreatBtn alloc] init];
    [button setTitle:title forState:UIControlStateNormal];
    button.titleLabel.font = [UIFont systemFontOfSize:14];
    
    [button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    
    //button.backgroundColor = [UIColor grayColor];
    NSString *norName = @"illness_rb_img_nor.png";
    NSString *selName = @"illness_rb_img_sel.png";
    [button setImage:[UIImage imageNamed:norName] forState:UIControlStateNormal];
    [button setImage:[UIImage imageNamed:selName] forState:UIControlStateSelected];
    
    return button;
}

@end
